package com.zy.design.ddd.domain.wallet.repository;

import com.zy.design.ddd.domain.wallet.entity.VirtualWalletTransactionEntity;

/**
 * @author zhaoyi
 * @date 2021/2/5 16:08
 * 模拟操作数据库
 */
public class VirtualWalletTransactionRepository {

    public Long saveTransaction(VirtualWalletTransactionEntity transactionEntity){
        System.out.println("模拟保存交易");
        return 1L;
    }

    public void updateStatus(Long transactionId, String failed) {
        System.out.println("模拟更新");
    }
}
